//
// Created by 123 on 2025/1/6.
//
#pragma once
#include "iostream"
#include "string"

using namespace std;

template<class T1,class T2>
class Person{
public:
    T1 name;
    T2 age;
public:
    Person(T1 name,T2 age);
    void showPerson();
};
template<class T1,class T2>
Person<T1,T2>::Person(T1 name, T2 age) {
    this->name = name;
    this->age = age;
}

template<class T1,class T2>
void Person<T1, T2>::showPerson() {
    cout << "name=" << this->name << " age=" << this->age << endl;
}
